/*
 * Copyright 2016-2019 yoara
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package yhao.infra.service.data.entitydiff;

/**
 * data-entityDiff组件数据对比行为接口
 * <p>默认实现{@link DefaultDiffActor}
 *
 * @author yoara
 */
public interface DiffActor<T extends BaseDiffParam> {
    /**
     * 当前方法需要根据Act行为，设置result的值
     */
    void doAct(T param,DiffResult result);
}
